<template>
  <a-config-provider :locale="locale">
    <div id="app" :class="entranceClassName">
      <router-view/>
    </div>
</a-config-provider>
</template>

<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
window.APP_CONFIG = window.APP_CONFIG || {}
export default {
  name: 'App',
  data() {
    return {
      locale: zhCN
    }
  },
  computed: {
    entranceClassName() {
      return process.env && process.env.VUE_APP_ENTRANCE_CLASS_NAME 
        ? `${process.env.VUE_APP_ENTRANCE_CLASS_NAME}`
        : ''
    }
  },
  mounted() {
    
  }
}
</script>